import api from "../api";

const salesVolumeByProduct = function (params) {
  return api.getRequest(api.requestURL + `travel/report/salesVolumeByProduct`, params)
}

const orderCount = function (params) {
  return api.getRequest(api.requestURL + `travel/report/orderCount`, params)
}
const vipProportion = function (params) {
  return api.getRequest(api.requestURL + `travel/report/vipProportion`, params)
}

const salesVolumeWhitDay = function (params) {
  return api.getRequest(api.requestURL + `travel/report/salesVolumeWhitDay`, params)
}

export default {
  salesVolumeByProduct,
  orderCount,
  vipProportion,
  salesVolumeWhitDay
}
